package com.xyy.saas.payment.manage.cores.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 支付成功详情
 *
 * @author automodel
 * @date   2019/12/18
 */
public class PayResultOrderDto implements Serializable {

    /**
     * 退款状态 ： 无退款
     */
    public static Byte REFUND_STATUS_NONE = 0;

    /**
     * 退款状态 ： 有退款
     */
    public static Byte REFUND_STATUS_HAVE = 1;

    /**
     * 清分状态 ： 无充值
     */
    public static Byte ROYALTY_STATUS_NONE = 0;

    /**
     * 清分状态 ： 已充值1
     */
    public static Byte ROYALTY__STATUS_HAVE = 1;

    /**
     * 清分状态 ： 充值已撤销2
     */
    public static Byte ROYALTY__STATUS_REFUNDED = 2;

    /**
     * 自增主键id
     */
    private Long id;

    /**
     * 交易单号
     */
    private String payNo;

    /**
     * 渠道支付单号
     */
    private String channelChargeNo;

    /**
     * 交易单支付渠道
     */
    private String payChannel;

    /**
     * 业务线名称
     */
    private String businessType;

    /**
     * 业务订单类型
     */
    private String businessOrderType;

    /**
     * 实际支付金额(分)
     */
    private Integer amount;

    /**
     * 手续费（分）
     */
    private Integer fee;

    /**
     * 用户id
     */
    private String receiveId;

    /**
     * 创建时间
     */
    private Date ctime;

    /**
     * 更新时间
     */
    private Date utime;

    /**
     * 是否有退款(0 无退款 1已退款)
     */
    private Byte refund;

    /**
     * 是否已发起分润(0 未发起1已发起)
     */
    private Byte royalty;

    private String merchantId;

    private String payer;

    private String channelTransactionNo;

    private String payMode;

    private String cardInfo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getChannelChargeNo() {
        return channelChargeNo;
    }

    public void setChannelChargeNo(String channelChargeNo) {
        this.channelChargeNo = channelChargeNo;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getBusinessOrderType() {
        return businessOrderType;
    }

    public void setBusinessOrderType(String businessOrderType) {
        this.businessOrderType = businessOrderType;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getFee() {
        return fee;
    }

    public void setFee(Integer fee) {
        this.fee = fee;
    }

    public String getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(String receiveId) {
        this.receiveId = receiveId;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Date getUtime() {
        return utime;
    }

    public void setUtime(Date utime) {
        this.utime = utime;
    }

    public Byte getRefund() {
        return refund;
    }

    public void setRefund(Byte refund) {
        this.refund = refund;
    }

    public Byte getRoyalty() {
        return royalty;
    }

    public void setRoyalty(Byte royalty) {
        this.royalty = royalty;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getPayer() {
        return payer;
    }

    public void setPayer(String payer) {
        this.payer = payer;
    }

    public String getChannelTransactionNo() {
        return channelTransactionNo;
    }

    public void setChannelTransactionNo(String channelTransactionNo) {
        this.channelTransactionNo = channelTransactionNo;
    }

    public String getPayMode() {
        return payMode;
    }

    public void setPayMode(String payMode) {
        this.payMode = payMode;
    }

    public String getCardInfo() {
        return cardInfo;
    }

    public void setCardInfo(String cardInfo) {
        this.cardInfo = cardInfo;
    }
}